package com.yue.design.decorator;

public class Test {
    public static void main(String[] args) {
        BasePanCake b = new BasePanCake();
        EggDecorator e = new EggDecorator(b);
        System.out.println(e.getMsg());
        System.out.println(e.getPrice());
    }
}
